package com.liuhaha.subject.domain.convert;

import com.liuhaha.subject.domain.entity.SubjectAnswerBO;
import com.liuhaha.subject.infra.basic.entity.SubjectMultiple;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 多选题
 * @author liuhaha
 * @version 1.0
 * @date 2024-05-15 00:12
 */
@Mapper
public interface MultipleSubjectConverter {

    MultipleSubjectConverter INSTANCE = Mappers.getMapper(MultipleSubjectConverter.class);

    SubjectMultiple convertBoToEntity(SubjectAnswerBO subjectAnswerBO);

    List<SubjectAnswerBO> convertEntityToBoList(List<SubjectMultiple> subjectMultipleList);


}

